﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectManage.Core.Dto
{
    public class BaseQuery
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid Id { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        [Comment("创建人")]
        public virtual string Creater { get; set; }

        /// <summary>
        /// 创建者名称
        /// </summary>
        [Comment("创建者名称")]
        public virtual string CreatedName { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        [Comment("修改人")]
        public virtual string Modifier { get; set; }

        /// <summary>
        /// 修改者名称
        /// </summary>
        [Comment("修改者名称")]
        public virtual string ModifiedName { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        [Timestamp]
        public virtual DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Comment("更新时间")]
        [Timestamp]
        public virtual DateTime? ModifiedTime { get; set; }
    }
}
